package com.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author marisheng
 * @since 2019-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    /**
     * 管理员名称
     */
    private String adminName;

    /**
     * 上级用户，0为超级管理员
     */
    private Integer adminParent;

    /**
     * 沃币数
     */
    private Integer adminMoney;

    /**
     * 手机号，也是账号
     */
    private String adminPhone;

    /**
     * 性质
     */
    private String adminType;

    /**
     * 头像
     */
    private String adminHeadPortrait;

    /**
     * 密码
     */
    private String adminPassword;

    /**
     * 负责人
     */
    private String adminPersonInCharge;

    /**
     * 最后登录时间
     */
    private LocalDateTime adminLastLoginTime;



}
